package com.zx.znav.constant;

/**
 * @author 挚爱之夕
 * @version 1.0
 * @implSpec com.zx.znav.constant
 * @since 2023-07-18 19:01
 */
public class Constants {
    //session中用户键
    public static final String SESSION_USER_KEY = "user";
    //modal中用户键
    public static final String MODEL_USER_KEY = "user";
    /*
    返回给前端，存在域中
     */
    //返回给前端的消息在域中的key
    public static final String MESSAGE_KEY = "msg";
    //返回给前端的消息在域中的key
    //1.Navigation
    public static final String FIRST_NAVIGATION_KEY = "firstNavigation";//一级导航列表数据
    public static final String SECOND_NAVIGATION_KEY = "secondNavigation";//二级导航列表数据

    //2.Tag
    public static final String TAG_KEY = "tags";//标签数据
    //3.Link
    public static final String LinK_KEY = "link";//链接数据
    public static final String LinKS_KEY = "links";//链接列表数据
    public static final Integer SHOW_LINK_PAGE_SIZE = 10;   //后台显示分页每页显示条数
    public static final String LINK_PAGE_KEY = "linkPage";


    /*前台*/
    public static final String FIRST_NAV_ID = "firstNavId";
    public static final String Second_NAV_ID = "secondNavId";
    public static final String REQUEST_API = "https://api.iowen.cn/favicon/";

    //热门标签
    public static final String HOT_TAGS = "hotTags";
    public static final Integer SHOW_HOT_TAG_SIZE = 10;
    //相关推荐
    public static final String RELATED_LINKS = "relatedLinks";
    public static final Integer SHOW_RELATED_LINK_SIZE = 6;
    //标签分类
    public static final String TAG_ID = "tagId";
    //用户空间菜单选择
    public static final String ITEM_KEY = "item";
    //用户个人描述
    public static final String DESCRIPTION_KEY = "description";
}
